package org.jeecg.modules.health_records.health_basepro.service;

import org.jeecg.modules.health_records.health_basepro.entity.HealthBaseProjectInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 现病史基础指标信息表
 * @Author: jeecg-boot
 * @Date:   2025-06-27
 * @Version: V1.0
 */
public interface IHealthBaseProjectInfoService extends IService<HealthBaseProjectInfo> {
    /**按recordid查询**/
     List<HealthBaseProjectInfo> queryByRecordId(HealthBaseProjectInfo healthBaseProjectInfo);
    /**新规则:查询当下时间往前12个月的就诊数据作为电子病历数据**/
    List<HealthBaseProjectInfo>  newQueryElecRecord(HealthBaseProjectInfo healthBaseProjectInfo);
    /**新规则：除去当下时间往前12个月的就诊数据，剩下的数据为既往病历数据**/
    List<HealthBaseProjectInfo>  newQueryPastRecord(HealthBaseProjectInfo healthBaseProjectInfo);
}
